 import * as actionType from '../constants/store.js'

 export function update(data) {
    return {
      type: actionType.STORE_UPDATE,
      data
    }
 }

 export function add(item) {
    return {
      type: actionType.STORE_ADD,
      data: item
    }
 }

 export function remove(item) {
     return {
      type: actionType.STORE_REMOVE,
      data: item
    }
 }